<?php
Globals::requireController('Admin');

class LogoutController extends AdminController
{
	public function __construct($config = null)
	{
		parent::__construct($config, true);
	}
	
	public function indexAction()
	{
		$this->log('退出系统');
		session_destroy();
		$this->redirectToController();
	}
}
